package demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import demo.entity.Email;

public interface EmailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Email record);

    int insertSelective(Email record);

    Email selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Email record);

    int updateByPrimaryKey(Email record);
    
    List<Email>findMyEmailByEmail(Email email,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);
}